async function writeLogger(ctx, next) {
  console.log('请求：' + ctx.request);
  console.log('返回：' + ctx.response);
  await next();
}

module.exports = writeLogger;
